﻿using System; 
using System.Collections.Generic;
using System.Text;

namespace AJAXChatClient.Flash.Media
{
    public class SoundChannel
    {
        /// <summary>
        /// The current amplitude (volume) of the left channel, 
        /// from 0 (silent) to 1 (full amplitude).
        /// </summary>
        public float LeftPeak
        {
            get;
        }

        /// <summary>
        /// When the sound is playing, 
        /// the position property indicates in milliseconds 
        /// the current point that is being played in the sound file.
        /// </summary>
        public float Position
        {
            get;
        }

        /// <summary>
        /// The current amplitude (volume) of the right channel, 
        /// from 0 (silent) to 1 (full amplitude).
        /// </summary>
        public float RightPeak
        {
            get;
        }

        /// <summary>
        /// The <see cref="SoundTransform"/> object assigned to the sound channel.
        /// </summary>
        public SoundTransform SoundTransform
        {
            get;
            set;
        }

        /// <summary>
        /// Stops the sound playing in the channel.
        /// </summary>
        public void Stop()
        {
        }
    }
}
